Metrics for Predicting Run-Time Failures and Maintenance Effort: Four Case Studies

نویسندگان

  • Aaron B. Binkley
  • Stephen R. Schach
چکیده

August 1998 The distribution of faults within any particular software product is not uniform. For example, 47 percent of the faults found by users of OS/370 were associated with only 4 percent of the modules [1]. Therefore, what is needed are metrics that can be applied to detailed designs to predict which modules will be faultprone. Then, instead of wasting money detecting and correcting faults during implementation and integration, those modules can be redesigned before coding commences. Metrics of this kind can also be applied to existing software, to predict which modules are likely to contain residual faults when the software is installed. Residual faults can have two major adverse consequences: run-time failures, which prevent users from making optimal use of the software; and time that has to be spent on corrective maintenance. If a fault is detected in an existing module that has been flagged as fault-prone, it may turn out cheaper to discard, redesign, and recode the module than to attempt to fix one fault in a module that probably contains many other faults. The CDM is a metric that accomplishes this objective. It has outperformed a wide variety of other metrics, both classical and object-oriented, in predicting run-time failures and residual faults [2]. In this article, we compare the performance of CDM with other metrics on four real-world case studies: run-time failure data for a COeach module. We then chose an objective measure of software quality, for example, the number of faults detected in a module after installation. Next, we computed the Spearman rank correlation [2] between the LOC in each module and the number of faults in each module. A high correlation would indicate that modules with many LOC also have many faults, i.e., a high correlation would mean that lines of code is a good predictor of faults.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Metrics for Predicting Run-Time Failures

A study is presented in which we determined whether software product metrics gathered statically from designs or source code may be helpful in predicting the number of run-time faults that will be encountered during execution. Metrics examined include intermodule metrics such as fan–in and fan–out, as well as intermodule metrics such as cyclomatic complexity and size. Our study indicates that i...

متن کامل

Inheritance-Based Metrics for Predicting Maintenance Effort: An Empirical Study

Inheritance-based metrics are a major component of object-oriented metric suites. Corrective maintenance data of an 82,000-line C++ patient collaborative care system was analyzed. There was no significant correlation between the effort to fix residual faults and three of the four inheritance-based metrics that were included in this study. All the interclass and intraclass metrics displayed a st...

متن کامل

Maintainability Policy for Deteriorating System with Inspection and Common Cause Failure (TECHNICAL NOTE)

A condition based preventive and corrective maintenance policy is proposed for a continuously operating system. The condition of the system is assumed to deteriorate with time. The model incorporates both deterioration as well as random common cause failures. The deterioration stages are modeled as discrete state processes. The system is put to random inspection to know the condition. The mean ...

متن کامل

Testability Measurement and Software Dependencies

Testability is an important quality characteristic of software. A lack of testability contributes to a higher test and maintenance effort. Metrics can be used locate parts of a program which contribute to a lack of testability. In this paper we present a new approach to define metrics for software dependencies. We use this approach in the context of testability to identify test-critical depende...

متن کامل

Evaluating the Effectiveness of Daylight Performance Metrics in Predicting Visual Comfort Case Study: Educational Architecture Design Studios in Tehran

It is essential to ensure that adequate daylight penetrates in, especially, educational environments. In spite of positive significant impacts of daylight on the emotions, concentration, and learning of students, an exceeded amount of light will lead to glare and visual dissatisfaction. Over the last few years, with the help of simulation tools and lighting indices, it is possible to predict li...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998